<template>
	<view >
		<view style="position: fixed; top: 0;left: 0;z-index: -1;">
			<image style="height: 100vh;width: 100vw; z-index: -10;" src="http://113.142.144.25:9301/statics/appimg/splash.png"></image>
		</view>
		<view style="width: 100%;">
			<view class="welcome_text" style="margin-top: 25%;">
				<text>欢迎您</text>
			</view>
			<view class="welcome_text">
				<text>进入宝科创</text>
			</view>
			<view style="text-align: center;">
				<image src="http://113.142.144.25:9301/statics/appimg/splash_logo.png" style="height: 184rpx;width:184rpx;position: fixed;margin-left: -92rpx;bottom: 0rpx;">	
			</image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				animation:{},
				animationData: {},//盒子动效
				bgc_url:'http://113.142.144.25:9301/statics/appimg/splash.png'
			}
		},
		onLoad() {
			this.jumpToWelcome()
		},
		methods:{
			jumpToWelcome(){
				this.Qztime ='3';
				var interval = setInterval(() =>{
					--this.Qztime
				},1000)
				setTimeout(()=>{
					clearInterval(interval)
					uni.reLaunch({
						url:'/pages/home/home'
					})
				},3000)				
			}
		}
	}
</script>

<style>
	
	.welcome_text{
		font-size: 60rpx;
		font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
		color: #fefcd3;
		margin-left: 10%;
		margin-top: 2%;
	}
</style>